home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-21
/
xcb-20.zip
/
CB.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-11-11
|
1KB
|
49 lines
/*
* xcb: Copyright (C) 1992 by Farrell McKay.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose and without fee is hereby granted, provided
* that the above copyright notice appears in all copies and that both that
* copyright notice and this permission notice appear in supporting
* documentation. This software is provided "as is" without express or
* implied warranty.
*
* This header file contains the definitions and typedefs
* for the custom cut buffer widget.
*/
#ifndef _cb_h
#define _cb_h
#ifdef MSDOS
#include "X11/IntrinsP.h" /* KSW 11/10/1992 4:09pm. */
#else
#include "X11/IntrinsicP.h"
#endif /* MSDOS */
/* needed for CorePart et.al.*/
#define XtNatom "atom"
#define XtCAtom "Atom"
typedef struct _CbClassRec {
CoreClassPart core_class;
} CbClassRec, *CbWidgetClass;
typedef struct _CbRec {
CorePart core;
Pixel fgnd;
XFontStruct *font;
int font_width;
int font_height;
GC gc;
GC gc_inv;
short hilite;
Atom atom;
} CbRec, *CbWidget;
extern WidgetClass cbWidgetClass;
extern CbClassRec cbClassRec;
#endif